package com.hnxxxy.common.AjaxRtnEntity;

import java.util.List;

/**
 * @CLASSDESCRIPER:
 * @AUTHOR:suhui
 * @PHONE:13319575368
 * @EMIAL:13319575368@163.COM
 * @DATE: 2020/4/25
 * @PARAMDESCRIPER:
 * @OUTPARAMDESCRIPER:
 */
public class AjaxRtnEntity {
    //成功
    public static  final  int success=1;
    //异常错误
    public static  final  int error=-1;
    //返回不成功
    public static final int unsuccess=0;

    //返回码
    private int code;

    private String codeInfo;

    private String info;

    private List<Object> listObj;


    public AjaxRtnEntity(int code,String info,List list){
        this.code=code;
        this.info=info;
        this.listObj=list;
    }
    public AjaxRtnEntity(){

    }
    public String getCodeInfo() {
        return codeInfo;
    }

    public void setCodeInfo(String codeInfo) {
        this.codeInfo = codeInfo;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public List<Object> getListObj() {
        return listObj;
    }

    public void setListObj(List<Object> listObj) {
        this.listObj = listObj;
    }



}
